//
//  LFBReadBaseView.h
//  ONE
//
//  Created by dllo on 16/6/7.
//  Copyright © 2016年 GroupNine. All rights reserved.
//

#import "BaseView.h"

// 宏定义常量
FOUNDATION_EXPORT NSString *const kLFBReadBaseViewID;

@class LFBReadShortModel;
@class LFBReadSerialModel;
@class LFBReadQuestionModel;

@interface LFBReadBaseView : BaseView

// 被选中文章类型block
@property (nonatomic, strong) void (^readSelected)(LYLReadType type);

// 设置普通视图
- (void)configureViewWithReadEssay:(LFBReadShortModel *)readEssay readSerial:(LFBReadSerialModel *)readSerial readQuestion:(LFBReadQuestionModel *)readQuestion atIndex:(NSInteger)index;

// 设置带有父视图控制器的视图
- (void)configureViewWithReadEssay:(LFBReadShortModel *)readEssay readSerial:(LFBReadSerialModel *)readSerial readQuestion:(LFBReadQuestionModel *)readQuestion atIndex:(NSInteger)index inViewController:(BaseViewController *)parentViewController;

@end
